.class public Lcom/estrongs/android/pop/app/analysis/viewholders/DetailAppViewHolder;
.super Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;
.source "DetailAppViewHolder.java"


# instance fields
.field private i:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/view/View;Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0, p2, p3}, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;-><init>(Landroid/view/View;Ljava/lang/String;)V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailAppViewHolder;->i:Landroid/content/Context;

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;)V
    .locals 5

    .line 1
    iget-object p1, p1, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    check-cast p1, Les/yf;

    .line 2
    iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    const v1, 0x7f0800a0

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->e:Landroid/widget/CheckBox;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setClickable(Z)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->e:Landroid/widget/CheckBox;

    const v1, 0x7f08054c

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setButtonDrawable(I)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->a:Landroid/widget/ImageView;

    invoke-static {p1, v0}, Lcom/estrongs/android/icon/loader/c;->a(Lcom/estrongs/fs/g;Landroid/widget/ImageView;)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->b:Landroid/widget/TextView;

    invoke-virtual {p1}, Lcom/estrongs/fs/m;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    invoke-virtual {p1}, Les/y10;->length()J

    move-result-wide v0

    .line 8
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->f:Ljava/lang/String;

    const-string v3, "internal_storage"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 9
    invoke-virtual {p1}, Les/yf;->y()J

    move-result-wide v0

    :cond_0
    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-gez v4, :cond_1

    move-wide v0, v2

    .line 10
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->c:Landroid/widget/TextView;

    invoke-static {v0, v1}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->d:Landroid/widget/TextView;

    const/16 v1, 0x13

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setGravity(I)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/DetailFileViewHolder;->d:Landroid/widget/TextView;

    invoke-virtual {p1}, Les/yf;->t()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
